<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<style type="text/css">
		*{
			margin: 0px;
			padding: 0px;
		}
		.box{
			background-image: url(images/bg.jpg);
			background-size: 100% 100%;
		}
		
		.hotModify{
			padding: 15px;
			background-color: #fff;
			box-sizing: border-box;
			position: absolute;
			opacity: 0.97;
			z-index: 9999;
			border: 3px solid #2464b5;
		}
		.hotModify>p{
			display: inline-block;
			width: 100%;
			position: relative;
		}
		.hotModify>p span{
			display: inline-block;
			float: right;
			color: #bbb;
			position: absolute;
			bottom: 0px;
			right: 0px;
			cursor: pointer;
		}
		.hotModify>p span:hover{
			color: red;
		}
		.hotModify table{
			margin: 15px auto;
		}
		.hotModify table tr td:nth-of-type(1){
			text-align: right;
		}
		.hotModify form p{
			text-align: right;
		}
		.hotModify form p input{
			background-color:#ccc;
			color: #2464b5;
			font-weight: bold;
			box-sizing: border-box;
			margin-right:10px;
		}
		.hotModify form p input:hover{
			background-color:#2464b5;
			color: #fff;
		}
	
	</style>
</head>
<body>
	<div class="box">
		
		<!-- 热区修改 -->
		<div class="hotModify">
			<p>
				修改热区
				<span onclick="tobghome()">×</span>
			</p>
			<form action="hotServlet.do?hotspotId=${param.hotspotId }&opt=3" method="post">
				<table>						
					<tr>	
						<td>球员:</td>
						<td><input type="text" name="playerName" value="${param.playerName }"></td>
					</tr>
					<tr>	
						<td>一区:</td>
						<td><input type="number" name="hotspotOne" step="0.01" value="${param.hotspotOne }"></td>
					</tr>
					<tr>	
						<td>二区:</td>
						<td><input type="number" name="hotspotTwo"  step="0.01" value="${param.hotspotTwo }"></td>
					</tr>
					<tr>	
						<td>三区:</td>
						<td><input type="number" name="hotspotThree" step="0.01" value="${param.hotspotThree }"></td>
					</tr>
					<tr>	
						<td>四区:</td>
						<td><input type="number" name="hotspotFour" step="0.01" value="${param.hotspotFour }"></td>
					</tr>
					<tr>	
						<td>五区:</td>
						<td><input type="number" name="hotspotFive" step="0.01" value="${param.hotspotFive }"></td>
					</tr>
					<tr>	
						<td>六区:</td>
						<td><input type="number" name="hotspotSix" step="0.01" value="${param.hotspotSix }"></td>
					</tr>
					<tr>	
						<td>七区:</td>
						<td><input type="number" name="hotspotSeven" step="0.01" value="${param.hotspotSeven }"></td>
					</tr>
					<tr>	
						<td>八区:</td>
						<td><input type="number" name="hotspotEight" step="0.01" value="${param.hotspotEight }"></td>
					</tr>
					<tr>	
						<td>九区:</td>
						<td><input type="number" name="hotspotNine" step="0.01" value="${param.hotspotNine }"></td>
					</tr>
					<tr>	
						<td>十区:</td>
						<td><input type="number" name="hotspotTen" step="0.01" value="${param.hotspotTen }"></td>
					</tr>
					<tr>	
						<td>十一区:</td>
						<td><input type="number" name="hotspotEleven" step="0.01" value="${param.hotspotEleven }"></td>
					</tr>
					<tr>	
						<td>十二区:</td>
						<td><input type="number" name="hotspotTwelve" step="0.01" value="${param.hotspotTwelve }"></td>
					</tr>
					<tr>	
						<td>十三区:</td>
						<td><input type="number" name="hotspotThirteen" step="0.01" value="${param.hotspotThirteen }"></td>
					</tr>
					<tr>	
						<td>十四区:</td>
						<td><input type="number" name="hotspotFourteen" step="0.01" value="${param.hotspotFourteen }"></td>
					</tr>
					<tr>	
						<td>赛季:</td>
						<td>
							<select name="seasonId">
								<c:if test="${param.seasonId eq 1}">
									<option value="0">-请选择-</option>
									<option value="1"  selected="selected">季前赛</option>
									<option value="2">季后赛</option>
									<option value="3">常规赛</option>
								</c:if>
								<c:if test="${param.seasonId eq 2}">
									<option value="0">-请选择-</option>
									<option value="1">季前赛</option>
									<option value="2" selected="selected">季后赛</option>
									<option value="3">常规赛</option>
								</c:if>
								<c:if test="${param.seasonId eq 3}">
									<option value="0">-请选择-</option>
									<option value="1">季前赛</option>
									<option value="2">季后赛</option>
									<option value="3" selected="selected">常规赛</option>
								</c:if>
							</select>
						</td>
					</tr>	
					<tr>	
						<td>日期:</td>
						<td><input type="number" name="hotspotDate" value="${param.hotspotDate }" oninput="if(this.value>=2050) this.value = 2050;if(this.value<=2000) this.value = 2000"></td>
					</tr>
				</table>
				<p class="submitP">
					<input type="button" name="" value="取消" onclick="tobghome()">
					<input type="submit" name="" value="确定">
				</p>
			</form>	
		</div>	
		
	</div>
</body>
<script type="text/javascript" src="JS/jquery.js"></script>
<script type="text/javascript" src="JS/bghome.js"></script>
<script type="text/javascript">
	function tobghome(){
		window.location.href="/nba/SearchServlet.do"
	}
</script>
</html>